/**{
 * 
 */
package it.uniroma3.dia.digraph.view;

import java.io.IOException;

import org.graphdrawing.graphml.xmlns.GraphType;

import it.uniroma3.dia.digraph.io.util.IoManager;

/**
 * @author Cionzo
 *
 */
public class Movie {
    
    public static void main(String[] args) throws IOException {
	IoManager iom = new IoManager();
	String path = "xml\\kouterplanar\\boh\\";
	int i = 1;
	GraphType g = iom.loadFromFile(path+i+".xml").getGraph();
	View  v = new View(g);
	v.setBounds(0, 0, 1024, 768);
	v.setVisible(true);
	v.update(g);
	for (i=2;i<13;i++) {
	    g = iom.loadFromFile(path+i+".xml").getGraph();
	    v.update(g);
	    System.out.println(i);
	}
	System.out.println("bye");
	Finestrella.getChar();
	System.exit(0);
	
    }

}
